Add close button to chat
Fixed bug when hide chat