Add typeahead mode for keyword editing.
Add close action to editor which close current window.