Create a ctools modal API.

#6

![1](https://f.cloud.github.com/assets/1222368/2490411/dc6c3d36-b1a7-11e3-923e-bf66739f943c.png)
![2](https://f.cloud.github.com/assets/1222368/2490435/da98082c-b1a8-11e3-8d52-79c37ec0001b.png)