'Add document' dialog is hung and documents are duplicated when equipment is updated without saving

Summary :

Some users reported that if they update equipment details, then continuously add document to the equipment, the ‘Add document’ dialog is hung and the documents are added multiple times

Reproduce

1.Select an equipment

2.Change some equipment’s details, DO NOT SAVE

3.On the ribbon menu, click Add

4.Click OK in the confirmation dialog

5.Select file from device in ‘Add document’ dialog, then click OK.

6.Then a confirmation dialog shows up asking to confirm changes on equipment, click Yes

7.In ‘Add document’ dialog, click OK again

bug 223758.The “Add document” doesn’t disappear. If we clicked OK 3 times, it adds 4 documents

This known issue was solved in the Winter 2021 release, published November 2021.