title: How do I show a custom dialog when there is no Internet connection?
body: <p>I want to show a custom dialog in a webview app when there is no connection to the Internet. How can I check the Internet connection and after that call a dialog?</p>