#109391Add EventDispatcher to PagesRouter for unit tests
Description
Due to a missing rebase before merge, newly introduced unit tests for #109263 did not contain the also newly introduced EventDispatcher from #92780. The result is a failure during random unit test runs conducted by nighly test suites.