When I have multiple tabs open and try to close the window, AP asks me for every file if I would like to save or delete the changes I made.
In the macOS version, AP displays the warning first for the file that has been opened first, without switching to the file, which means that it doesn't show the respective file in the background.
In a previous thread, walt.farrell confirmed that this bug doesn't occur in the Windows version:
I have lost data multiple times because of this, and I hope this can be fixed in a future version.