It has be done there but surprisingly it is not handled in NativeMessageBox::showYesNoBox also.
NativeMessageBox::showYesNoBox