CB-4586: Making loadUrl run on the UI thread for close dialog to stop the WebView error