Autoedit a new document. Ref #104