The bug 220826 is currently marked as close, but shouldn't have been closed IMHO.
This patch makes the common variable used by the dialog box unique per dialog box window. This prevents the global close of all currently active dialog boxes exhibited by the bug report.
It does not change the current behavior that causes a subsequent dialog to close the currently active dialog that has the same parent window name.
The change is simple enough to replicate on the 8.4 branch.
The attached tar file contains diffs of files msgbox.tcl dialog.tcl and dialog.test.
bug220826.tgz