android: added network check (using dialog fragments)