I find that on the rare occasion I get these that very often hitting ESC closes them.
That being said, using an ad blocker such as uBlock Origin or similar, or a browser like Brave virtually eliminates these from ever being displayed to begin with.
Brian - Windows 10 Pro, 64-Bit, Version 1903, Build 18362
The color of truth is grey.
~ André Gide