Grab a ref to xmldoc when running wizard