More fixes. firefox and chrome compatibility fixes in terms of Popup UX