Close modal when contact form has been successfuly submitted