In various locations throughout Compose, the only option presented to the user is "close" to dismiss a window. When this button is clicked, whatever changes (either intended or unintended) will be applied. We notice when doing demos that we don't want to make changes but clicking the "close" button will potentially make changes.
We would like a more standard set of options whenever there is "code" behind the close button (we would like to cancel out without changes).