Use plone.autoform rather than plone.directives.dexterity.