delete code for test popupWindow