Initialize form when setting model (#767).

Fixes issued described in comment at
https://github.com/PitonFoundation/atlas/issues/767#issuecomment-22114929