Close to form submission