-Added warning dialog for enabling offline mode