se></button>
      <h3>
        <span>Copy UserData</span>
      </h3>
    </header>
    <form>
      <label for="userdata_copy_name">Name *</label>
      <input id="userdata_copy_name" name="userdata_copy_name" required />
      <button type="submit">Copy</button>
    </form>
  </article>
</dialog>
{{end}}

<script>
function onOpenUserDataCopyModal(e, { modal, onClose, trigger }) {
  selectElem = document.querySelector(`select[name='userdata_key']`);
  modal.querySelector("[name='userdata_copy_name']").val