Problems with Wait for 3rd window to close