code: public void writeDialog() throws IOException, JspException {
  
          if (isForwarded()) {
              return;
          }
          switch (getAction()) {
              case ACTION_CANCEL:
              case ACTION_ERROR:
              case ACTION_SAVE:
                  break;
  
              case ACTION_DEFAULT:
              default:
                  // ACTION: show dialog (default)
                  setParamAction(DIALOG_SAVE);
                  JspWriter out = getJsp().getJspContext().getOut();
                  out.print(defaultActionHtml());
          }
      }
docs: Writes the dialog html code, only if the <code>{@link #ACTION_DEFAULT}</code> is set.<p>
  
  @throws JspException if dialog actions fail
  @throws IOException if writing to the JSP out fails, or in case of errors forwarding to the required result page