Popup settings won't accept turning on javascript events

I'm clicking to enable Javascript Events in settings, and when clicking save get success message but Javascript Events remains unchecked and I can't add this condition to popups.. Have granted site access.

Thanks