fn create_action<H: Handler>( button_info: &HashMap<String, ButtonMeta>, name: &str, view_names: Vec<&String>, warning_handler: &mut H) -> Action