Adding onModelChange to Widgets