Saving scripts - file name

When saving a script it is soooo easy to overwrite the wrong script. It seems to default the file name to the last script opened or saved regardless of which script I am working on. Ideally the default save name should be the name of the script that I’m working on. I hope I’ve explained this well enough.