Add unsaved changes indicator

The “save” icon changes to red to indicate that there are unsaved
changes.