How to stop Sample Recorder Dialog from closing on Esc?

Hi, how do I stop Sample Recorder Dialog closing when I press Esc? I can’t seem to find a shortcut in settings that can be changed or something.