Hitting `Esc` with an active window should trigger the window's `onCancel` callback, if it exists.
Hitting
Escwith an active window should trigger the window'sonCancelcallback, if it exists.