Refactor prevent circular references. Warn about linked pages when unpublishing.