docs: @Override
      protected void dialogButtonsHtml(StringBuffer result, int button, String attribute) {
  
          attribute = appendDelimiter(attribute);
  
          switch (button) {
              case BUTTON_OK:
                  result.append("<input name=\"ok\" value=\"");
                  result.append(getConfigurationContentStringValue(NODE_BUTTON_ACCEPT));
                  result.append("\"");
                  if (attribute.toLowerCase().indexOf("onclick") == -1) {
                      result.append(" type=\"submit\"");
                  } else {
                      result.append(" type=\"button\"");
                  }
                  result.append(" class=\"dialogbutton\"");
                  result.append(attribute);
                  result.append(">\n");
                  break;
              case BUTTON_CANCEL:
                  result.append("<input name=\"cancel\" type=\"button\" value=\"");
                  result.append(getConfigurationContentStringValue(NODE_BUTTON_DECLINE));
                  result.append("\"");
                  if (attribute.toLowerCase().indexOf("onclick") == -1) {
                      result.append(" onclick=\"submitAction('" + DIALOG_CANCEL + "', form);\"");
                  }
                  result.append(" class=\"dialogbutton\"");
                  result.append(attribute);
                  result.append(">\n");
                  break;
              default:
                  // other buttons are not overridden, call super implementation
                  super.dialogButtonsHtml(result, button, attribute);
          }
      }