fix for GRAILS-5921 "Enhance withForm to allow for forms on multiple tabs"