code: @Override
      public String dialogButtonsOkCancelAdvanced(
          String okAttributes,
          String cancelAttributes,
          String advancedAttributes) {
  
          if (isEditable()) {
              int okButton = BUTTON_OK;
              if ((getParamDialogmode() != null) && getParamDialogmode().startsWith(MODE_WIZARD)) {
                  // in wizard mode, display finish button instead of ok button
                  okButton = BUTTON_FINISH;
              }
              // hide "advanced" button
              if (isHideButtonAdvanced()) {
                  return dialogButtons(
                      new int[] {okButton, BUTTON_CANCEL},
                      new String[] {okAttributes, cancelAttributes});
              }
              // show "advanced" button
              return dialogButtons(
                  new int[] {okButton, BUTTON_CANCEL, BUTTON_ADVANCED},
                  new String[] {okAttributes, cancelAttributes, advancedAttributes});
          } else {
              // hide "advanced" button
              if (isHideButtonAdvanced()) {
                  return dialogButtons(new int[] {BUTTON_CLOSE}, new String[] {cancelAttributes});
              }
              // show "advanced" button
              return dialogButtons(
                  new int[] {BUTTON_CLOSE, BUTTON_ADVANCED},
                  new String[] {cancelAttributes, advancedAttributes});
          }
      }
docs: Builds a button row with an "ok", a "cancel" and an "advanced" button.<p>
  
  @param okAttributes additional attributes for the "ok" button
  @param cancelAttributes additional attributes for the "cancel" button
  @param advancedAttributes additional attributes for the "advanced" button
  @return the button row