added 'zbefore_optgroup_event' to allow disable optgroup selection