Allow widgets to add events to UI