Enable escape key for the Bootstrap modal

See http://stackoverflow.com/questions/12630156/how-do-you-enable-the-escape-key-close-functionality-in-a-twitter-bootstrap-moda
See https://github.com/twbs/bootstrap/issues/4663
Add more tests when using the picker