Dont close multiple windows if there close buttons overlap.