Fix close button in chats dialog