But it's better to mirror the action verb for your confirmation button, because users don't necessarily read the text you present them with. So, instead of this:
Delete xyz.jpg?
--------------------------
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
[ OK ] [ Cancel ]
You have: Delete xyz.jpg?
--------------------------
The file 'xyz.jpg' will be
permanently deleted.
--------------------------
[ Delete ] [ Cancel ]
And you get one more chance for the user to see what action they're about to perform.There's very good, detailed guidance on this in the Windows design guidelines (the design-specific aspects are a bit dated since everything there refers to Vista/7-era UI elements, but their guidance on text and dialog styles is still applicable):
Text: https://msdn.microsoft.com/en-us/library/windows/desktop/dn7...
Dialog Boxes: https://msdn.microsoft.com/en-us/library/windows/desktop/dn7...