Please make it possible to disable that pressing esc leaves the note

When you accidentally press esc two times, the focus is no longer in your note but on the side bar where all your notes are located. Could you please add the option to disable this behaviour, i.e. repeated esc presses won’t leave the current notes one is editing?