popupBox somewhat functional