fix path to plain tree page from permalink pages like http://localhost/api/dijit/Dialog