Update createDialog.js

Adjusted template to support bootstrap 3.0.x