The ESC key doesn't work if the cursor is in text editor input field.
This is standard behavior of windows elements.
You can check this on another action editor with text editor: Run program, print document, send keystrokes and so on
But I wrote this into our ToDo. Maybe this can be corrected.