code: public String getWidgetHtmlEnd() {
  
          StringBuffer result = new StringBuffer(32);
          // iterate over unique widgets from collector
          Iterator<CmsWidgetDialogParameter> i = getWidgets().iterator();
          while (i.hasNext()) {
              CmsWidgetDialogParameter param = i.next();
              result.append(param.getWidget().getDialogHtmlEnd(getCms(), this, param));
          }
          return result.toString();
      }
docs: Generates the HTML for the end of the widget dialog.<p>
  
  This HTML includes additional components, for example the &lt;div&gt;
  tags containing the help texts.<p>
  
  @return the HTML for the end of the widget dialog