XWIKI-10114: Default edit mode can be wrong when including a document using the Include macro with the "reference" parameter