alert on chatwindow refresh