change modal box close button from div to anchor; add plugin for trapping keyboard input & use it on modal boxes
Merge pull request #1174 from tuff-ghost/issue_3380c

3380c: improve keyboard input behaviour on modal boxes