when editing a document, display linked with warning only if this is a new document AND it will actually be linked with another one
Merge branch 'doc-edition-linked-with' into master-fixes-migration