add the loss chatpanel class.