now subforms have a reference to parent form. If parent form is null, subforms are hidden.