Trying to control user exit from Popover. Using a script with OnObjectExit to check if user clicks outside the Popover works fine with Popover on primary layout. However, when trying to do same when Popover is in a portal doesn't work even if I grab portal row on Popover open and return to the row in script that checks if Popover closed by user clicking outside Popover rather than clicking on button to close Popover. I navigate to portal row and select named object that is on the Popover layout. This is the part that does not work. Popover on the portal row I navigate to does not open. Simple script example is
Any suggestions would be welcomed.