pub fn popup_window(app: &AppHandle) -> Option<ViewportId>
The window the popup menu shows in, if one is open: the one it was opened in, or the main window once that one is closed.