Fixed back button for visits when creating a new visit fails