Create state on the file avatar to indicate insaved changes, provide a popup message and make the avatar a click element with the ability to save