FIX: Re-added window close confirmation.