enable closing of alerts on mobile