<md-dialog aria-label="Confirm dialog">
    <form ng-cloak>
        <md-dialog-content>
            <div class="md-dialog-content">
                <h2 class="md-title">{{ title | translate }}</h2>
                <div layout="column" layout-sm="column" layout-align="space-around">
                    {{ textContent | translate }}
                </div>
            </div>
        </md-dialog-content>

        <md-dialog-actions layout="row" ng-show="buttons">
            <div ng-repeat="button in buttons">
                <md-button ng-class="button.class" ng-click="button.action && button.action()">
                    {{ button.name }}
                </md-button>
            </div>
        </md-dialog-actions>
    </form>
</md-dialog>