How to undo an form change