As Frank said this is likely web shield at work (see image) and personally I think you are probably OK.
Though it is best to use the Abort Connection button, I think the web shield will be looking for a positive input through the button, I would hope that it would about the connection if you closed the window.
However, you should probably do an avast scan to confirm nothing was downloaded.