window.onbeforeunload should not return null (IE popup)