Refactor _Overlay global listeners to allow resets for Unit testing.