code: protected void close() {
  
          if (m_dialog != null) {
              m_dialog.hide();
              m_dialog = null;
              m_editorHandler.onClose(m_editableData.getSitePath(), m_editableData.getStructureId(), m_isNew, false);
              m_editorHandler = null;
          }
          if (m_form != null) {
              m_form.removeFromParent();
              m_form = null;
          }
          if (m_closingHandlerRegistration != null) {
              m_closingHandlerRegistration.removeHandler();
              m_closingHandlerRegistration = null;
          }
      }
docs: Closes the dialog.<p>