Bootstrap modal override causes JS error

Occasionally, I see an error in the JavaScript, which I think is caused by the bootstrap modal override that is trying to initialise before bootstrap is initialised. The appropriate dependencies should be added around that plugin.

Assigning to @dieterc.

![screen shot 2013-05-13 at 01 02 23](https://f.cloud.github.com/assets/109850/493685/2c809326-bb63-11e2-9dd4-e8854649f526.png)