Ferry,
The button is now disabled using
dojo.byId("id").disabled = true;
If you change this to:
dijit.byId("id").attr("disabled", true);
the button will also get a "disabled" style after clicking it. The difference between dojo.byId and dijit.byId is that the first method retrieves a DOM node and the 2nd the dijit widget.
Mark