Added message when document shared/unshared and reverted the dubbing
flag.