<div class="modal" tabindex="-1" role="dialog">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header" ng-show="title">
				<button type="button" class="close" ng-click="$hide()">&times;</button>
				<h4 class="modal-title">{{title}}</h4>
			</div>

			<form name="functionSelectForm" role="form" novalidate>
				<div class="modal-body" >
					<label>Select a function</label>
					<div class="form-group">
						<p>Function</p>
						<select class="form-control" name="function" ng-model="sfunc.type" placeholder="Select a function..." ng-options="value.value as value.name for value in specialFuncTypes" auto-focus required> </select>
					</div>			
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" ng-disabled="functionSelectForm.$invalid" ng-click="$hide()" system="system" steps="steps" sfunc="sfunc" select-variable>Select</button>
					<button type="button" class="btn btn-danger" ng-click="$hide()">Cancel</button>
				</div>
			</form>
		</div>
	</div>
</div>
