Stop using onEnter, handle Esc when creating new todo.