void (@NotNull Disposable disposable, @NotNull Runnable onDialogDeactivated) { WindowDeactivationManager.getInstance().addWindowDeactivationListener(getWindow(), myProject, disposable, onDialogDeactivated); }