## Description Changes dialog show immediately after a resource is deleted ## How to reproduce - Create a new map resource - Save the new resource with a name (Save As button) - Click the Delete button in the top left of the navbar - A dialog will open asking "Are you sure you want to delete this resource?" to confirm deletion. - Immediately afterward, a second dialog will automatically appear (which is the bug): "Are you sure to leave without applying your changes?" *Expected Result* Redirect to homepage *Current Result* Show changes dialog https://github.com/user-attachments/assets/2e376c50-b8e3-4ba2-8318-4949f110c7e3 ## Other useful information <!-- error stack trace, screenshot, videos, or link to repository code are welcome -->
Description
Changes dialog show immediately after a resource is deleted
How to reproduce
"Are you sure to leave without applying your changes?"
Expected Result
Redirect to homepage
Current Result
Show changes dialog
delete_leave.mp4
Other useful information