Here's an in-depth walkthrough of the patch I used for the toolbox demo. Hopefully this will help to illustrate the functionality a bit more!