You want to have a post chat survey in the chat widget when the conversation was closed.