This was infuriating but solved it, it takes a few tries but it works. This is what I did:
-
Open Safari
-
Have a look at the exact position of the “Keep Both” button (or maybe the other one, I didn’t test)
-
Move your mouse to that exact location. Observe: you can’t click anything in Safari
-
Press Option-Command-ESC to open the Force Quit dialog. Don’t move the mouse
-
Use the keyboard to select Safari. Don’t move the mouse
-
Press Enter / Return. Again, don’t move the mouse
-
Press Command-Space to open Spotlight. Again, don’t move the mouse
-
Type Safari and get ready to press the mouse but don’t move the mouse
-
Press Enter and press the “Keep Both” with your trackpad at the exact instant it appears. You’ll need to be quick.
-
If you missed the button, repeat steps 3 through 9.