---
schema_version: "1"
id: a7cc1f1e8cf505c647b44394fd7eb22af57c10299b254abddf127a7824927358
title: Protect Users from Losing Unsaved Work in Embedded Apps
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/release-notes/264-0-0/rn_lc_ui_embedding_dirty_state.md
canonical_url: https://help.salesforce.com/s/articleView?id=release-notes.rn_lc_ui_embedding_dirty_state.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ce8c91dfe170e547de5336532672113119af810463085e7cd056da1c37aac6d1
description: Salesforce's standard unsaved-changes warning now covers embedded apps, so users are warned before they navigate away from work in progress.
products:
  - Cross Cloud
release: "264"
---
# Protect Users from Losing Unsaved Work in Embedded Apps

Salesforce's standard unsaved-changes warning now covers embedded apps, so users are warned before they navigate away from work in progress.

**Where:** This change applies to Lightning Experience and LWR-based Experience Cloud sites in Enterprise, Performance, Unlimited, Developer, and Partner Developer editions hosted on Hyperforce where English is the default language. This change doesn't apply to Aura sites or the Salesforce mobile app.

**When:** This feature is available starting September 14, 2026.

**Who:** This change is for developers who build embedded apps and who can create Lightning web components.

**Why:** Prevent users from accidentally losing unsaved work in an embedded app when they navigate away.

**How:** When your embedded app has unsaved changes, mark the view as dirty through the platform SDK. Salesforce then shows its standard navigation-confirmation dialog if the user tries to leave.