AADL: Undo available after new flile
'Steps to reproduce:
- Start IV editor
- Add a function
- Add a function type
- Press undo
- Press "New file"
-> The document is empty, but undo and redo are still available
'Steps to reproduce:
-> The document is empty, but undo and redo are still available