fix issue with anonymous examples showing incorrect button labels in the ok/cancel dialog