Changing the title in the toolbar of a SwiftData/UI document app?

I just started a little macOS app using SwiftUI and SwiftData. It seems to insist on placing the name of the file (along with the extension) in the title bar. I would prefer to put the name of the selection there instead (i.e. instead of "Untitled.paper", "New Article")..

Along with that, I'd like to control the appearance of "Edited" as well.

I have the suspicion that this simply isn't possible.

Changing the title in the toolbar of a SwiftData/UI document app?
 
 
Q