- 
    
Problem report
 - 
    Resolution: Fixed
 - 
    
Trivial
 - 
    6.4.2, 7.0.0alpha1, 7.0 (plan)
 
- 
        Sprint 100 (May 2023), Sprint 101 (Jun 2023), Sprint 102 (Jul 2023), Sprint 103 (Aug 2023)
 - 
        0.5
 
Steps to reproduce:
Scenario #1 - two clicks are required to confirm / cancel the action and close the pop-up
- Open Data collection -> Hosts
 - Click on Items / Triggers / Graphs for any available host
 - Check the checkbox for any of the rows
 - Click copy button under the list of available items
 - Click on select button for any of the options (Template groups, Host groups, Templates, Hosts)
 - Close the list (use close or cancel button)
 - Close the Copy window (use close or cancel button)
 - Check the checkbox for any of the rows
 - Click on any button, that requires confirmation, for example Disable
 - Click Ok or Cancel on the appeared pop-up window
 
Scenario #2 - multiple clicks are required to confirm / cancel the action and close the pop-up
- Open Data collection -> Hosts
 - Click on Items / Triggers / Graphs for any available host
 - Check the checkbox for any of the rows
 - Click copy button under the list of available items
 - Click on select button for any of the options, for example Hosts
 - Select the host that is already assigned to the same item
 - Close the Copy window (use close or cancel button)
 - Click Copy
 - Close the window by clicking Close or Cancel
 - Check the checkbox for any of the row
 - Click on any button, that requires confirmation, for example Disable
 - Click Ok or Cancel on the appeared pop-up window
 
Result:
Scenario #1: At least two clicks are required to confirm the action and close the pop-up window
See video:  
 
 
Scenario #2: Multiple clicks are required to confirm the action and close pop-up 
 ![]()
Reproducible on different browsers.
Note: issue disappears after reloading the page
Expected:
For both scenarios: action should be confirmed on the single click, pop-up message should be closed