@Override
      public boolean canClose(final String inputString) {
        if (isNameAlreadyUsed(inputString.trim())) {
          Messages.showErrorDialog(getNameAlreadyUsedMessage(inputString), "");
          return false;
        }
        return true;
      }
@Override
      public boolean canClose(final String inputString)