code: public String dialogButtonsOkAdvancedCancel(String okAttrs, String advancedAttrs, String cancelAttrs) {
  
          if (!m_advancedMode && m_limitedRestypes && OpenCms.getRoleManager().hasRole(getCms(), CmsRole.VFS_MANAGER)) {
              return dialogButtons(
                  new int[] {BUTTON_OK, BUTTON_ADVANCED, BUTTON_CANCEL},
                  new String[] {okAttrs, advancedAttrs, cancelAttrs});
          } else {
              return dialogButtonsOkCancel(okAttrs, cancelAttrs);
          }
      }
docs: Builds a button row with an optional "ok", "advanced" and a "cancel" button.<p>
  
  @param okAttrs optional attributes for the ok button
  @param advancedAttrs optional attributes for the advanced button
  @param cancelAttrs optional attributes for the cancel button
  @return the button row