fix: ignore close if last window when exiting popups
fix: ignore close if last window when exiting popups: a task in github-trending-environments-10k (Harbor dataset). Title: fix: ignore close if last window when exiting popups
The task
**Title:** fix: ignore `close_if_last_window` when exiting popups