So I LOVE modals but one problem I was having is forms in the modal body but the submit button in the modal footer (which is outside the form tag). Always had to use some JS to tie it together.
BUT NO MORE!
<form id="myform">stuff</form>
<button type="submit" form="myform">Submit it motherfucker!</button>