Reset form and return to main view