Avoid accidentally closing the todo editor
We can still press esc to close while not having the texteditor focused.