on escape close modal.