Hides and clears the form after saving