setCancelButtonIndex updates tag in self.controls

Small workaround for cases where the cancelButtonIndex is not returned by the getter. The solution is an explicit setter.