Modal Not Recognized as Previously Opened When Opened as Followup Action


I’m using UIActionShowModal, but I’ve noticed that when I do so as a followUpAction to another action, it no longer recognizes it was previously opened, and adds another modal to the html (where previously it would just update itself from hidden to visible). Is there any sort of flag or configuration I can use to fix this? The closest I’ve come to debugging is that when it gets to var modal = this.get('modal') it returns undefined rather than the modal as it would before.

"useCurrentPageAsParent": true did not solve the problem either


As a workaround, I ended up setting a trigger in my first action…

then invoked the UIActionShowModal on its own with
"trigger": "firstActionPassed"

now the page recognizes the modal on subsequent opens