Handle the browser back button event when open the content.