Create auto-show-modal JS module

* Move inline JS out of modal include
* Update event listener to use new namespaced Bootstrap 3 event, rather
than the old Bootstrap 2 one