Only show OK button when (flag & DS_OK) in message dialog
Merge pull request #2873 from raven02/patch-2

Only show OK button when (flag & DS_OK) in message dialog