Check Network Condition To Prompt Dialog