add events on the document scoping by target