Work on submit handler for form modal.