add dialog box when have no internet connecction