Attache onclick event for global roles checkbox, when form didn't pass validation
Fix identation