Added dialog for checking network connectivity