use the doc's document_Complete
all the events you need are covered by doc