Support HTML form submission to create/update metadata
Closes #1168 (closed)
This wraps the entire modal into a <form>
, because the Save
button in the modal's footer is separate from the rest of the form and is necessary to allow the HTML submit
event to be triggered. This makes the diff ugly as the entire modal is indented, but that way it works for all fields, both in normal and free edit mode.