WINDOW.CLOSE () does not prompt "Do you want to turn off this window"

xiaoxiao2021-03-06  37

Plus in Window.Close ();?

WINDOW.OPENER = NULL;

Will not prompt 'Do you want to turn off this window'! Such as: