Merged #83
Fixed a wrong reference to BootstrapDialog.