Emit the Bootstrap modal events (show, shown, hide, hidden).

This pull request adds the emitting of the Bootstrap modal events; show, shown, hide, hidden. The use case for this is when you want to load remote resources when the modal is shown, but only when it's shown.