There is no such code.
The standard dialog function from CS3 (which is the same in CS4) cannot create a dialog without an OK button. No Cancel is OK, actually:
"If true, creates a Cancel button in the dialog that allows users to close the dialog without saving any selections. If false, the dialog contains an OK button but no Cancel button."
but no OK is not OK. It also seems (good thing I checked!) that you cannot define any button of your own at all! So you have to use radiobuttons or checkboxes.
Thanks for your answer.
It looks workable. Actually I am new in scripting, can you a provide me code for create a own dialog?