Allow to clear selected text using Esc, fixes #436