hide modal on submit
Merge pull request #1290 from jay-hodgson/SWC-1869

hide modal on submit