The issue was that when Elements parent context changed, the map instance become stale because of the singleton design pattern for popups. This recreates the popup instance when it recognizes the map object used to create it originally is no longer the same.
The issue was that when Elements parent context changed, the map instance become stale because of the singleton design pattern for popups. This recreates the popup instance when it recognizes the map object used to create it originally is no longer the same.