make popupbox into one