Currently there is not a way to define a form with ng-submit within a dialog, and have the `<button type="submit">` within the actions.
Take for example this ui bootstrap modal example, where the parent elemint is a form.
```
<form name="formData" ng-submit="form.submit()" novalidate="novalidate">
<div class="modal-header">
UI Bootstrap Modal form Demo
</div>
<div class="modal-body">
<input type="text" required ng-model="name">
</div>
<div class="modal-footer">
<button class="btn btn-primary"
type="submit">
OK
</button>
<button class="btn btn-warning" type="button" ng-click="cancel()">Cancel</button>
</div>
</form>
```