check for pk to ensure document wasn't saved for safety.