Show an alert or prompt with [yes] or [no] button asking if user really want to remove the window
Show an alert or prompt with [yes] or [no] button asking if user really want to remove the window