Pop up on clicking Related Action button

I have a requirement to show pop on clicking the related action button. The scenario is to "Cancel the request", when user clicks on that related action, pop up should show?

Parents Reply Children
No Data

 Discussion posts and replies are publicly visible