fix: listen on dataTransition events

The listener should be register on document.