<div class="{{dlgClass}} template modal">
    <div class="modal-header">
        <a href="#" class="close">&times;</a>
        <h1 class="dialog-title">{{{title}}}</h1>
    </div>
    <div class="modal-body">
        <p class="dialog-message">{{{message}}}</p>
    </div>
    <div class="modal-footer">
        {{#buttons}}
        <button class="dialog-button btn {{className}}" data-button-id="{{id}}">{{{text}}}</button>
        {{/buttons}}
    </div>
</div>

<div class="{{dlgClass}} template modal">
    <div class="modal-header">
        <a href="#" class="close" data-dismiss="modal">&times;</a>
        <h1 class="dialog-title">{{{title}}}</h1>
    </div>
    <div class="modal-body">
        <p class="dialog-message">{{{message}}}</p>
    </div>
    <div class="modal-footer">
        {{#buttons}}
        <button class="dialog-button btn {{className}}" data-button-id="{{id}}">{{{text}}}</button>
        {{/buttons}}
    </div>
</div>

Make dialog 'x' buttons work with Bootstrap 2
Make dialog 'x' buttons work with Bootstrap 2
