Option 2, check for the thank you url and change the behavior of the back button