Add a “End Chat” Button and “Join and Leave” Chat
“End Chat”
When you press the Button the Chat will Close for the Agent and also for the Visitor/Customer its not to hard to make this.
“Join & Leave”
Mak it pls so when a Agent joins the Chat he can talk with the Visitor but also the Agent can Leave the Chat and the Visitor gets the Message Waiting Time 1 Minute until a Agent joins the Chat again.