little changes to the popupwindow