Make flags on buttons in confirmation dialog configurable

"OK" isn't always constructive, and "Cancel" isn't always destructive.

Change-Id: I66ef8170e569e09a9a4c05575d589e1dfaaf4a48
Merge "Make flags on buttons in confirmation dialog configurable"