How to close window in this case?

It is necessary that the window was closed by clicking on close. Windows can be many. At each service window. While it turned out only open.
March 19th 20 at 08:34
1 answer
March 19th 20 at 08:36
Solution

Find more questions by tags jQuery