showData() {
    const formData = escapeHtml(this.getFormData(this.config.opts.dataType, true))

    const code = m('code', formData, {
      className: `formData-${this.config.opts.dataType}`,
    })

    this.dialog(m('pre', code), false, 'data-dialog')
  }
Open a dialog with the form's data