<!-- MODAL: DELETE GROUP -->
<!-- Modal Header -->
<div class="modal-header">
    <button type="button" class="close" ng-click="cancel()" aria-label="Close">
    	<span aria-hidden="true">&times;</span>
    </button>
    <h2 class="modal-title" id="myModalLabel">Are you sure you want to unlink?</h2>
</div>

<!-- Modal Body -->
<div class="modal-body">
	
	<div ng-if="!startingAction">
		<p>
			This will unlink the {{ selectedEntities[0].entityType }}s from the AEM cloud. 
			<BR/>
		</p>
	</div>

	<div ng-if="startingAction" ng-include="config.viewPath + 'views/modals/modal-group-action.html'"></div>
</div>

<!-- Modal Footer -->
<div class="modal-footer">
    <button type="button" class="btn btn-default" ng-click="cancel()">Cancel</button>
    <button type="button" ng-if="!startingAction" class="btn btn-primary warning" ng-click="startAction()">Unlink</button>
    <button type="button" ng-if="startingAction" class="btn btn-primary warning" ng-click="close()">OK</button>
</div>
