submit inspections and back button functionality