how can I revert back to an original document after making the wrong changes to a form?