Fix 'leave page' alert in IE CRM-12019