popup box fixes