Button: Ignore non-radio elements with the same name

Fixes #8761