Uh, it will not display the message, but I'm guessing that it will still block access.
You should set a loop to detect for that window to pop up, and when it does, find the button that says "unblock" and unblock your program from accessing the internet.