fixed the chat modal