<div class="modal-header">
    <button type="button" class="close closebtn" data-ng-click="close()" aria-hidden="true">&times;</button>
    <h1 class="modal-title">{{"Metadata" | translate}}</h1>
</div>
<div class="modal-body">
    <formly-form fields="metadataSchema" result="metadataValues" options="metadataFormOptions" name="metaForm">
    </formly-form>
</div>
<div class="modal-footer">
    <button ng-disabled="working" ng-click="saveMetadata()" class="btn btn-success wiz-btn-padding">{{'Save' | translate}}</button>
    <button ng-disabled="working" ng-click="close()" class="btn btn-default wiz-btn-padding">{{'Close' | translate}}</button>
</div>