Send actions from modal components

Adds an `actions` option, for example:

```javascript
this.modal(‘a-modal’, { 
  withParams: [‘bar’], 
  actions: { submit: “submitModal”} 
})
```
Merge pull request #101 from rlivsey/modal-actions

Send actions from modal components