NXP-11420: fix detection of creation mode, assume the changeableDocument is created if it has a non-null ref