How to remove a widget?

Like what was mentioned before, its probably best to just toggle visibility of the widget rather than creating and destroying the widget many times.