Present effect: exit the effect when there is only one window left
When the user closes window in the effect, exit the effect if there is only one window left.
When the user closes window in the effect, exit the effect if there is only one window left.