pass activeRecord to widget

Widgets might need the activeRecord->id to function properly (e.g. the fileTree).