When adding an entry and hitting Esc, it asks an "are you sure" question. Fine. But when I do exactly the same thing and press the Cancel button, the dialog dismisses instantly without confirmation.
Now, I personally don't like confirmation dialogs. In fact, it has been proven a number of times and being able to undo is much more user-friandly than asking "are you sure?" It's more natural, and it doesn't get in the way.
In any case, the Esc key and the Cancel button should do exactly the same, but they don't atm.
Using KeePass 2.23 portable on Windows 7.