Attached modal close to Esc key