it possible to set a default button

I have trouble setting a default button for MessageDialog.