HPCC-10371 Reopening a WU Details page fails

Dijit.Dialogs need to be specifically destroyed.

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #5121 from GordonSmith/HPCC-10371

HPCC-10371 Reopening a WU Details page fails

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>