define `openTour` and `closeTour` on the rootScope