Added a way to closed the extended chat window