modelbutton: Close popover menu submenus consistently

Open Corey Berla requested to merge wip/corey/nested-popover-menu into main

In a nested popover menu, the popover submenus are only closed when pointing to another item that also has a submenu. If the pointer is hovering over an item without a submenu close any opened submenus.

Current behavior can be reproduced on page 2 of the widget factory


Merge request reports