The Windows 11 Notepad remembers the last file opened and reopens it. You can turn this feature off in the settings (Gear icon) by selecting "Open a new window" under "When Notepad starts".
As for the file Backupengine.log. It's just a log file. It won't matter if you save it or not.