Modify dialog when WiFi is off and remove some permissions.