Yii => custom WidgetFactory, adds onBeforeCreateWidget, onAfterCreateWidget events