Hide contact modal on submit