[Bug] Custom Dialogs and Alt+F4 display bug

Since there is not a bug report category, I will post it here.

Link to original HIVE post

Remove space before com.

www.hiveworkshop. com/threads/dialog-and-alt-f4-display-bug.311720/

In my map in multiplayer the first button of any dialog displays the time for selection an option. If an option is not selected and time is out, the first option is applied. After that the dialog is hidden and cleared.
And I got a little problem with timed dialogs.

Player presses Alt+F4 during displaying of my dialog. Now he see the exit dialog. Meantime, the time of my dialog is out, it is hidden and cleared. Player decides to continue playing and clicks Cancel, and for some reason my dialog is displayed! Since it has been cleared, it is empty, and player cannot do anything.
The video of this issue is below.

I created a test map for this bug, you can download it and test it by yourself in LAN or BattleNet.

Link to the test map

Remove space before com.

www.hiveworkshop. com/attachments/dialog-and-alt-f4-display-bug-w3m.313726/?temp_hash=972f4df628fc952db6925f9f327ad5c9

The video of the issue on the test map.

Videos was made on 1.26a version, but this issue is still in presence in the latest patch.