adjustments to popup window