Here we add an event listener for the loadabort of a webview.