Add an example for extending a widget

Needed for NDOH.