void (Project project, QualifiedName qName) { ApplicationManager.getApplication().invokeLater(() -> { final int rc = Messages.showOkCancelDialog(project, PyBundle.message("external.documentation.configure.description", qName.getComponents().get(0)), PyBundle.message("external.documentation.title"), Messages.getQuestionIcon()); if (rc == Messages.OK) { ShowSettingsUtilImpl.showSettingsDialog(project, DOCUMENTATION_CONFIGURABLE_ID , ""); } }, ModalityState.nonModal()); }