This seems a good idea. I've never used this function before so I have to make some tests. I could use it every second (for example) for close this windows(I have also to control what is the name of the window)