Fix to adding wizard elements to the genned templ