fixes to let subforms appear properly through the new element type