Optimize modal height, disable chat button on loading or error.
Add send() method to chat object.