catch back button or url change when test incomplete