Customise the text shown when the agent "Resolves" the conversation

How can I set a custom text for a resolved conversation, instead of showing the text “Chat closed” I require to show “Help us to improve, please reply our survey”

image

Regards

Victor