A random idea, maybe an alternative is to label the buttons w/ the actions themselves, i.e. no message + Y/N,Ok/Cancel labels.
For Example, instead of:
Would you like to cancel this transaction?
{Yes,No}
just have:
{Continue Transaction|Stop Transaction}
... just a thought, I'm no UX designer.