Refactor Cancel handling
Issue #174
new
There are multiple ways to cancel every dialog in the app: "Cancel" button, closing the window, ESC key. These are handled somewhat differently. The handling can be unified, potentially using Swing's Action.