allow passing of the form dom node