5e90e8d385
Since commit 35494f5d08, all menus are closed when their source gets unmapped. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1948>