Added on load session for chatbox. The state of the open chatbox will now be saved on the browser.