Make sure that a new document does not overwrite an existing documents
Make sure that a new document does not overwrite an existing documents

Fixes issue 742.

SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange,SRabbelier/Melange