I elaborated this variation on the interesting @dstull code: Daniele Tonon / turbo_modal · GitLab
It works with and without js, has a quite consistent routing pattern and even supports back/forward navigation.
I was asking about routing suggestions on this thread: https://discuss.hotwired.dev/t/routing-in-a-modal-interface