Handle back button in webview.