Send actions from modal components

Adds an `actions` option, for example:

```javascript
this.modal(‘a-modal’, { 
  withParams: [‘bar’], 
  actions: { submit: “submitModal”} 
})
```