If an R script is open in a tab it often changes it status from saved to unsaved even if no changes were made.
saved:

unsaved:

This makes it difficult to keep track of which scripts were actually changed.
Why is R studio behaving like this and what can I do to stop it?