It would be good it that is changed and thank you to Wendy for highlighting the issue.
It did prompt me to think about these cross-references (that get deleted) when there is no target. I try to remember to always look before closing the programme but it’s easy to forget.
If it is an easy development, it would be lovely to have a warning message when you close to say that there are some cross-references that will get deleted. Then the window/warning could give the option to cancel and make an amendment or to close anyway.