hide modal on submit