void ok() {

      if ("".equals(this.name.getText())) {
        ErrorPopup.showMessage(Constants.INSTANCE.CanNotHaveAnEmptyCategoryName());
      } else {
        if (parent.contains(name.getText())) {
          ErrorPopup.showMessage(Constants.INSTANCE.CategoryWasNotSuccessfullyCreated());
        } else {
          isDirty = true;
          explorer.addChildren(parent, name.getText(), description.getText());
          hide();
        }
      }
    }