While looking for examples if a route can cause a modal (popup) to appear.

I saw this discussion: https://github.com/anantcode/anote-next/pull/2

that leads to this example: https://github.com/vercel/next.js/tree/canary/examples/with-route-as-modal

That had this link to live preview: preview live with StackBlitz