This is a great tip that I didn't know about. Thank you. It doesn't work for Numbers, since I need to DELETE not Cancel the file changes, but I'm sure it'll work in a ton of other places.
(Edit: Just tested this in numbers, works fine. In cases where the button isn't correctly tagged as a "delete" button it might not -- in that case, cmd-<first letter of button content> will almost always work.)