edit document and edit transformer user prompt if navigating away with unsaved changes