improve Overlay Popup class