Set a query loop on a section for terms. Inside the section I add a div with another query loop for posts in the current term. For the post loop item add a button to trigger an ajax fetched popup. For the interaction set the context type to “Post” and the Context ID to “{post_id}”. For the pop-up add a heading with dynamic tag {post_title} and also a button with dynamic link {post_url}.
Result:
Clicking on the trigger-button opens the popup and the heading displays the right post title. The dynamic {post_url} button link doesn’t take the dynamic value.
Do you happen to have JetEngine installed? If so, please disable it temporarily and see if it works as expected. If it works, you can enable JetEngine again, but then leave the popup post context ID empty - then it should work, too.
It seems that JetEngine changes the global post_id
Edit: From your screenshot, I can see you’re using JetEngine. We have already contacted JetEngine support and made them aware of the problem. Now it’s in their hands