<!-- Modal window-->
<div class="modal" id="confirmDialog" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog type-warning" role="document">
        <div class="modal-content">
            <div class="modal-header" ng-class="{'modal-header-red':confirmDialog.deleteConfirm}">
                <button id="buttonTimes-44a" type="button" class="close" data-dismiss="modal" aria-label="Close" ng-click="confirmDialog.onClose()">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel" ng-bind="confirmDialog.title | tsq"></h4>
            </div>
            <div class="modal-body" style="height: auto;">
                <form class="form-horizontal" role="form">
                    <div class="form-group">
                        <label class="col-sm-12" style="text-align: center; font-size: 16px;">
                            <span ng-bind-html="confirmDialog.message | tsq | html"></span>
                        </label>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button id="buttonCancel-44b" type="button" class="btn btn-default" data-dismiss="modal" ng-click="confirmDialog.callback(false)" ng-bind="confirmDialog.yesNo ? 'No' : 'Cancel'"></button>
                <button id="buttonConfirm-44c" type="button" class="btn btn-primary" data-dismiss="modal" ng-click="confirmDialog.callback(true)" ng-bind="confirmDialog.yesNo ? 'Yes' : (confirmDialog.okButtonTitle ? confirmDialog.okButtonTitle : 'OK')"></button>
            </div>
        </div>
    </div>
</div>