AFL star Dangerfield opts for surgery