self.page.props.pageId not resolving correctly?

Ah, okay, so the likely cause for what you’re encountering is a fix that went into 8.0.13.

Before 8.0.13, if closePopup or togglePopup was supplied an id argument which didn’t match any open popup, then Perspective closed the most recently focused Popup. In the event self.page.props.pageId did not match the id of the popup you had open, but that popup was the most recently focused popup, it still would have been closed.

Many users limped along on this bug without realizing it because most users only have one popup open at a time. For users who have more than one popup, this behavior was wreaking havoc with their projects.

8.0.13 has changed this behavior so that if the supplied id is not found no action is taken. We also realize that some uses prefer the option to perform a sort of “blind” close operation, and so if an empty string is supplied for the `id arg, then the old behavior is used.

You can probably get back to your previous behavior by changing your close operation to the following:

system.perspective.closePopup("")