Handle Esc key press in address bar, fixes #340