owner_dialog is passed straight to Popupmenu, which hands it to its MenuControler: a menu
built for a dialog dispatches to that dialog's menu_item_selected() instead of the editor's
global one. Popupmenu has always taken it; this subclass simply did not pass it on, so an
editable popup inside a dialog was routed to the editor's handlers — which act on the
current selection, not on the dialog.
owner_dialogis passed straight to Popupmenu, which hands it to its MenuControler: a menu built for a dialog dispatches to that dialog's menu_item_selected() instead of the editor's global one. Popupmenu has always taken it; this subclass simply did not pass it on, so an editable popup inside a dialog was routed to the editor's handlers — which act on the current selection, not on the dialog.