basic networkdetect modal now works