@Override
  protected final void doOKAction() {
    if (!DumbService.getInstance(myProject).isUsableInCurrentContext(this)) {
      Messages.showMessageDialog(myProject, RefactoringBundle.message("refactoring.not.available.indexing"),
                                 RefactoringBundle.message("refactoring.indexing.warning.title"), null);
      DumbModeBlockedFunctionalityCollector.INSTANCE.logFunctionalityBlocked(myProject, DumbModeBlockedFunctionality.RefactoringDialog);
      return;
    }

    doAction();
  }
@Override
  protected final void doOKAction()