Can't delete Script Not stored in scripts.yaml

I’m running HA OS 2024.5.3 My config has a separate scripts.yaml file.
I have a script that is basically blank that I can’t delete.

Try migrate, then delete

Migrate, save and delete give the same error message.

I think it was the browser cache that was the problem. Closed chrome and reopened it and it’s all deleted.