pressing Delete or Tab quits the completion mode too
minor optimization