Create a Popup class.