Hey there, as the guys mentioned the following option is the best to use:
use a microflow on the button that opens the page you want to go to (show page action) and add a “Close Page” action before that. This will close the pop-up and then proceed to open the designated page.
When clicking on the button, you could use the action ‘Close this page’ before navigating to the next page.
Hope this helps.
Have you used the standard logic form Mendix or are you using a custom MF to let the ‘Yes’ button close the popup and go to the designated page?
I would suggest to use a MF.
simply follow this capture