Using new YesNoDialog based on AbstractDialog.