I don't know if you still experienced this bug but I came across it just recently.
I added the Spring.addDecoration in the create-Attribute of the jQuery modal dialog and I had the same bug as you that the input-fields got removed. So my workaround at the moment is just that I check if the dijit-element already exists. If so I don't apply the Spring.addDecoration a second time. this works for me.
Code:
$( "#actionDetailDialog" ).dialog({
modal: true,
resizable: false,
width: 'auto',
hide: {effect: "fade", duration: 500},
create: function(event, ui) {
if (!dijit.byId("actionName")) {
Spring.addDecoration(new Spring.ElementDecoration({elementId : 'actionId', widgetType : 'dijit.form.ValidationTextBox'}));
Spring.addDecoration(new Spring.ElementDecoration({elementId : 'actionName', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {getErrorMessage : function(inFocus) { return "${status_message_obligatory}"; }, required : true}}));
Spring.addDecoration(new Spring.ElementDecoration({elementId : 'actionMfrKey', widgetType : 'dijit.form.ValidationTextBox', widgetAttrs : {getErrorMessage : function(inFocus) { return "${status_message_obligatory}"; }, required : true}}));
}
var theForm = document.forms["actionDetailDialogForm"];
Spring.addDecoration(new Spring.ValidateFormDecoration({event : 'onclick', elementId : 'saveButton', form : theForm }));
},
close: function(event, ui) {
$(this).dialog("destroy");
}
});
Thanks jlocum for the start with dijit.byId(this.elementId).