Add dock menu

This PR adds a dock menu that looks like this:

![dock_menu](https://f.cloud.github.com/assets/37190/2314153/83a25bf2-a312-11e3-9b4c-478d24ab5037.png)