Hide Element With Escape Key

Happy Wednesday!!
One thing that's great for accessibility with modals is allowing the user to close them using the esc/escape key! This script allows that to happen in a very simple way - simply add the attribute to any modal wrapper, and they will be set to display none when they are clicked.
To get the code, go to https://www.memberstack.com/scripts/hide-with-esc