To reproduce, 1. Start emacs with "emacs -q -l t.el" 2. Use mouse to do some random click 3. wait until a gui dialogue pop up asking if you want to take a break and answer yes 4. Do anything and another dialogue will pop up asking if you want to continue break. 5. Answer yes and the dialogue will pop up again immediately i.e. you won't be able to exit the dialogue by answering yes while you can if the query is in the minibuffer.