I´ve an uploader that appears inside a dialog. So when I upload my file with success; I want my dialgo to close and if I got an error after the upload I don´t want to close my dialog. So my upload works but when it´s time to close my dialog I get the message from firebur: ReferenceError: args is not defined. Here is the code for my dialog:I´ve an uploader that appears inside a dialog.