Hi Prashant,
Thank you for responding.
Looks like I might have to use Classic Activities.
I was just curious if there was a way with modern activities,
after all the pop is also an element, and I wish I could use it in check app state the way we use in Element Exists.
Requesting UiPath team to please add support for the same.
Marking you answer as solution.
Regards