workspace: Fix not able to close tab when buffer save fails (#35589)

Closes #26216, Closes #35517

Now we prompt user if buffer save failed, asking them to close without
saving or cancel the action.

Release Notes:

- Fixed issue where closing read-only or deleted buffer would not close
that tab.

Co-authored-by: Lukas Wirth <lukas@zed.dev>
2c8f144e6bSmit Barmase committed on 8/4/2025, 5:38:22 PM· committed by GitHubparentbf361c3
1 file changedLine totals unavailable