Adding generic yes/no logic to abstract dialog.