add xml save for flow edit