ESC cancels Sample Recorder recording or - if not recording, then closes the Sample Recorder

is there no way it could pass keybindings to the main app?

now when sample recorder is open, one needs to defocus away from the sample recorder (not possible with the API) with a click - and thus any script that is built to use the sample recorder is now unusable.

and now people who are definitely focused on the sample recorder, cannot use the return key to start and stop recording.