An alert should appear when this window receives the focus, but only once (since closing the alert dialog could give the window the focus again). Remove the focus first if necessary and bring it back to this window.