Listen to the document's targeted events