. It should not close anything but the pop-up. (if you only hit it once) .
No the F4 key closes the entire webpage, and that is hitting it once.