Add new API: $( ".selector" ).dialog( "option", "buttons", {});