#85890Deleting an IRRE record does not trigger the save modal on closing
Description
Steps to reproduce
- Create a text & media element
- Add some media
- click close
- save the changes
- edit the element again
- remove one or more media records
- click close
Expected Behaviour: The modal shows up to ask you if you want to save your pending changes.
Actual Behaviour: The modal does not show up and the media record(s) are not removed.