After I click a button or close and the alert pups-up, I press "stay" than immediately press the same button the alert does not pop-up anymore. and the browser let's me leave without any alert.
But if I wait for a second or two then the alert works again.