chat open/close funcionando