void (@NotNull IdeFrame ideFrame) { if (isEmpty(WindowManagerEx.getInstanceEx().getMostRecentFocusedWindow())) { ApplicationManager.getApplication().invokeLater(() -> showNotification()); Disposer.dispose(disposable); } }