Fixed issue where the back button warning message would appear if the browser took too long to navigate to the previous page.