network info can now be displayed either as dialog or activity