enable keyboard escape modal close