SyntaxFix
Write A Post
Hire A Developer
Questions
You can overwrite the buttons array and left only the ones you need.
$( ".selector" ).dialog( "option", "buttons", [{ text: "Close", click: function() { $(this).dialog("close"); } }] );