@Nullable
  private String askForProfileName(@NlsContexts.DialogTitle String title, String initialName) {
    return Messages.showInputDialog(CopyrightBundle.message("dialog.message.new.copyright.profile.name"), title, Messages.getQuestionIcon(), initialName, new InputValidator() {
      @Override
      public boolean checkInput(String s) {
        return !getAllProfiles().containsKey(s) && !s.isEmpty();
      }

      @Override
      public boolean canClose(String s) {
        return checkInput(s);
      }
    });
  }
@Nullable
  private String askForProfileName(@NlsContexts.DialogTitle String title, String initialName)