Move close dom event to track from wrapper.