Known issues aside, AlterDock is only intended to work for the current page. As you move from page to page in your session, you are loading a new page configuration which will replace your existing Docked Views with whatever is configured for the Page config you have loaded.
Yep, because you're loading a new (albeit same) Page configuration, which is replacing the old one. Since the value in page.path
has not changed, the script will not be run again.
Note:
session.props.page.path
is not known to me - was this a miscommunication, or are you creating this property yourself and updating it somehow?