Hi. Young learner here. I just want to ask help for the ordering app where I encountered a specific problem.
My desired behavior in the buttons behavior
When I click Save, the edited details are saved, and the overlay closes.
When I click Cancel, the overlay closes, and no changes are applied — the screen should remain exactly as before editing.
Problem I’m seeing:
When I click Cancel, the overlay closes, but the changes I made inside the overlay are still being reflected on the screen, even though I intended those changes to be discarded.
Is there any way to solve this?