How to disable close button of a pop up window using javascript?