My bad!
After modifying my environment so that it is no longer persistent, the concerns of variables still accessible after refreshing the browser or between the tabs are resolved.
However, I still have a problem using New-UDDynamic : https://forums.ironmansoftware.com/t/new-uddynamic-argmentlist-not-working/6444