add chat mode switch; turn on by pressing enter and off when done entering msg