This demonstrates how to implement a toolbox to add and remove widgets. Click the 'X' on a widget to move it into the toolbox.