When a recipe save fails due to duplicate name, restore the original recipe data to prevent confusion and potential data loss when user navigates away. Co-authored-by: hay-kot <64056131+hay-kot@users.noreply.github.com>