Add Key dispatcher of esc key