improve popup box