close modal on escape