Basically the widget will need to get an object_id to attach to, and it won't know or care which object that is. Hopefully it will be possible to do this in a simple way that can be reused without having to rewrite every form in the toolkit.