<div>
    <div class="entity-buttons" ng-show="selectedInstance">
        <button ng-click="selectInstanceHistory(selectedInstance)" type="button" class="btn btn-primary">
            {{msg('mds.btn.history')}}
        </button>
        <button data-toggle="modal" data-backdrop="static" class="btn btn-danger">
            <i class="icon-trash icon-white"></i>
            {{msg('mds.btn.deleteInstance')}}
        </button>
    </div>
    <ng-form name="outerInstanceFieldsForm">
        <div ng-include="'../mds/resources/partials/widgets/entityInstanceFields.html'"></div>
        <div class="form-group">
            <div class="col-md-offset-2 col-sm-offset-3 col-sm-9 col-md-10">
                <button class="btn btn-primary" ng-click="addEntityInstance()" ng-disabled="outerInstanceFieldsForm.$invalid">
                    {{msg('mds.btn.save')}}
                </button>
                <button class="btn btn-default" ng-click="unselectAdd()">
                    {{msg('mds.btn.cancel')}}
                </button>
            </div>
        </div>
    </ng-form>

    <div ng-include="'../mds/resources/partials/modals/delete-instance.html'"></div>
</div>
<div>
    <div class="entity-buttons" ng-show="selectedInstance">
        <button ng-click="selectInstanceHistory(selectedInstance)" type="button" class="btn btn-primary">
            {{msg('mds.btn.history')}}
        </button>
        <button target="_self" href="#deleteInstanceModal" data-toggle="modal" data-backdrop="static" class="btn btn-danger">
            <i class="icon-trash icon-white"></i>
            {{msg('mds.btn.deleteInstance')}}
        </button>
    </div>
    <ng-form name="outerInstanceFieldsForm">
        <div ng-include="'../mds/resources/partials/widgets/entityInstanceFields.html'"></div>
        <div class="form-group">
            <div class="col-md-offset-2 col-sm-offset-3 col-sm-9 col-md-10">
                <button class="btn btn-primary" ng-click="addEntityInstance()" ng-disabled="outerInstanceFieldsForm.$invalid">
                    {{msg('mds.btn.save')}}
                </button>
                <button class="btn btn-default" ng-click="unselectAdd()">
                    {{msg('mds.btn.cancel')}}
                </button>
            </div>
        </div>
    </ng-form>

    <div ng-include="'../mds/resources/partials/modals/delete-instance.html'"></div>
</div>
Bring back delete instance modal
Bring back delete instance modal

This has been mistakenly remove in one of the previous commit, what
caused the modal to not show at all and therefore made it impossible
to remove instances via UI. This commit fixes this problem.

Change-Id: I80ea86ac7b7690aa56efbf0ce3d5897162199435
