Is it possible to have a confirmation message appear when the Related Action is clicked?

A requirement has been raised to display a message when attempting to do something in a prior year.

Is it possible to add a confirmation message, ie this is for a previous year, do you want to continue? when clicking on a related action?

Parents Reply Children

 Discussion posts and replies are publicly visible