saves state of hidden/unhidden chat box