Fix Escape confirming Dialog.