Show unsaved/conflict prompt only when closing the last tab for an item

Also, ensure we show the correct prompt when files have conflicts.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
c3b947ca26Antonio Scandurra committed on 4/5/2022, 5:38:27 PMparentcac0ddd
1 file changedLine totals unavailable