The ShoppingListDetail page gives the user a confirmation prompt when they try swapping from Edit mode to View mode; the same functionality should be implemented for when the user tries to close the tab for that page when it's in Edit mode and also implemented for when the user tries to close the NewShoppingList page (since the user was presumably trying to create a list).
The ShoppingListDetail page gives the user a confirmation prompt when they try swapping from Edit mode to View mode; the same functionality should be implemented for when the user tries to close the tab for that page when it's in Edit mode and also implemented for when the user tries to close the NewShoppingList page (since the user was presumably trying to create a list).