In Jira i want to show pop up message for "Close" transition alone

in Jira i want to show pop up message for “Close” transition alone, i got the code to show pop up message but i want to restrict only for Close transition. Please help

!<--

Error!

And this is just content in a Default message.

-->