Dismiss TOS alert view if view controller is dismissed while the alert shows