add haslifecyclecallback event to documents