<md-dialog aria-label="Please wait">
    <form ng-cloak>
        <md-toolbar>
            <div class="md-toolbar-tools">
                <h2>{{ title | translate }}</h2>
            </div>
        </md-toolbar>

        <md-dialog-content>
            <div class="md-dialog-content">
                <div layout="column" layout-sm="column" layout-align="space-around">
                    <h3>{{ status | translate }}</h3>
                    <md-progress-linear md-mode="{{ modes[mode] }}" value="{{ progress }}"></md-progress-linear>
                    <p>{{ additionalStatus | translate }}</p>
                </div>
            </div>
        </md-dialog-content>

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

    </form>
</md-dialog>