I would like the modal to disappear after clicking the submit button. The modal only disappears after the notification is received and dismissed.