Menus stay open when opening download manager

Issue description:

If a menu is open when the download manager is opened from notifications, the download manager will be opened under the menu.

Logs:

debug-20230630_032457.zip (7.2 KB)

Screenshots:

Additional information: