on/offline as modal overlay