You can now have this control inside the partial refresh id that the control refreshes.
If you need to refresh a panel this control is located on you will need to call
var dijit1 = dijit.byId('#{javascript:getClientId(theidofthedialog)}');</div>
dijit1.destroyRecursive(false);</div>
var dijit1 = dijit.byId('#{javascript:getClientId(compositeData.dialogID)}');
//alert(dijit1.id + " Gone!!!'");
dijit1.destroyRecursive(false);