Fix Immersive confirmation in expanded mode.

The confirmation should come only once.