toggle offline mode when showing decrypted page