Its related to this button: Smart archive extraction - #10 by Mosed
There is first the above mentioned dialog which ask for deletion and later after extract and deletion is done there is a warning dialog, which informs the user, when also non-archive-files were selected.
v2022.02.12a is with Dlg.Show for the warning dialog at the end, which does not show up (or is closed immediately without user input)
if (selWarning) {
Dlg.window = tab;
Dlg.icon = "warning";
Dlg.top = true;
Dlg.template = "warning";
Dlg.Show();
}
v2022.02.13 is with Dlg.RunDlg instead Dlg.Show and now the warning shows up again.
if (selWarning) {
Dlg.window = tab;
Dlg.icon = "warning";
Dlg.top = true;
Dlg.template = "warning";
Dlg.Create();
Dlg.RunDlg;
}
So it is not the same Dlg object as far as I understand it. And it is not detached (or is the setting from previous dialog global?) - then the dialog would close immediatly acc. to the manual when using Dlg.Show.
EDIT: Ah, the detach topic seems to be relevant.
When I set detach to false for this dialog it works with show.
if (selWarning) {
Dlg.window = tab;
Dlg.icon = "warning";
Dlg.top = true;
Dlg.template = "warning";
Dlg.detach = false;
Dlg.Show;
}