Pressing enter in the modal auto-submits the form.