Close modal by escape key