I use
https://www.dokuwiki.org/plugin:indexmenu, it is very good useable when you have a hierarchical structure in your name spaces.
It is not a popup menu but a slide down/open ...
{{indexmenu>:wiki:intranet#1|doku navbar tsort}}
When an new page is added in a namespace it is automaticly read by the menu.
I also use pageheading as menu tekst.