This is possible when manually defining routes, so why not with createCoreRouter? It would save writing a lot of unnecessary code.

Photo Viewer

View photos in a modal