Hi, all here is a case which is hurting me for the last couple of days.. the following html code is a part of my project. there are some buttons in the form. when i click "addproduct" it will pop up a child window but the problem is. when we close the window using X (close) button of the browser window, after that clicking on other button "update status" is again poping up one more window. actually i am not writing any code to pop up window for this button. y it is happening.. i dont want this behavior. how to get rid of this? any suggestions? the code is here code:-------------------------------------------------------------------------------- function fnSubmit(actionCode) { if(actionCode==1) { if(validateLoyaltyAdminForm(document.loyaltyAdminForm)) { document.loyaltyAdminForm.actionCode.value="1"; document.loyaltyAdminForm.submit(); return; } else { return; } } } function openViewWindow(jobId) { var str = 'child'; var d; d =window. open('',str,'width=800,height=300,scrollbars=yes,s tatus=yes,resizable'); d.moveBy(10,20); document.forms['loyaltyAdminForm'].target = str; document.forms['loyaltyAdminForm'].actionCode.value = '5'; document.forms['loyaltyAdminForm'].JobDescriptionId.value = jobId; document.forms['loyaltyAdminForm'].submit(); d.focus(); } function fnEditProduct(productId) { document.loyaltyAdminForm.productId.value=productId; var str = 'child'; var d; d =window. open('',str,'width=800,height=300,scrollbars=yes,s tatus=yes,resizable'); d.moveBy(10,20); document.forms['loyaltyAdminForm'].action="addProduct.do"; document.forms['loyaltyAdminForm'].target = str; document.forms['loyaltyAdminForm'].actionCode.value = '2'; document.forms['loyaltyAdminForm'].submit(); d.focus(); } function fnEditAward(awardId) { document.loyaltyAdminForm.awardId.value=awardId; var str = 'child'; var d; d =window. open('',str,'width=800,height=300,scrollbars=yes,s tatus=yes,resizable'); d.moveBy(10,20); document.forms['loyaltyAdminForm'].action="addAward.do"; document.forms['loyaltyAdminForm'].target = str; document.forms['loyaltyAdminForm'].actionCode.value = '3'; document.forms['loyaltyAdminForm'].submit(); d.focus(); } function fnDelete</x-turndown>