fn button_frame( ui: &mut Ui, id: Id, is_popup_open: bool, sense: Sense, add_contents: impl FnOnce(&mut Ui), ) -> Response