closes modal on submit