adding chatboxes popups; not working properly