Dialog asking users to turn internet on or close the app shows up when the internet stops working while the app is running.