Use helper method.
Turn off page leave confirmation