void (Project project, @NlsContexts.DialogMessage String message, @NlsContexts.DialogTitle String title) { ApplicationManager.getApplication().invokeLater( () -> Messages.showMessageDialog(project, message, title, Messages.getErrorIcon()), ModalityState.any()); }