modify popup window