In the dialog class, the following method returns null.

getButtonById(PredefinedButton.YES.name());

If I use other PredefinedButton enumerations, such as OK, I receive a TextButton object. Is there a problem with the "Yes" enum?

Simon