I stumbled upon the same problem as described in Dealing with "do you want to save" popup dialog. This thread contains the solution (use Close Window instead of Close Application), but I’d like to know why you have to use Close Window instead of Close Application.
Because it makes little sense to me. My sequence is like:
- do stuff
- open application notepad
- do stuff in notepad
- close notepad
-> as I opened notepad by using Open Application, I’d expect to close it with … well, Close Application. This does indeed close the application - as does Close Window - and in both cases the “do you want to save”-window pops up, but the click on the Don’t Save button only works after the Close Window activity.
Can anyone explain why?