escape key also hide messages

I wanted to dismiss the import message with a shortcut too. I haven't done much with `bootstrap.js` so there may be a better way, but this seems to work.