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?
Discussion posts and replies are publicly visible
On the related action you cannot do it directly, but you can do on the submission.
I would fake the pop-up, so basically the related action should call an interface that says "Are you sure you want to cancel the request?" - and then a submit to confirm or a cancel to not delete.
Otherwise, you can have a button on the record with a "a!buttonWidged", with "confirmMessage" field.
thanks ManuelHTG, putting a button approach worked