extjs - How to configure a rootPath in CQ Dialog depending on current page