Autoedit a new document. Ref #104
Save as a new file if old was deleted. Fixes #188