Added escape listener