fixes #4102 display loading indicator and error message for webview