When I implemented Auto Save in our Notepad clone this past week, I noted that the new feature was “quick and dirty.” It was, perhaps, a bit too much of both: As a reader pointed out, the Save As dialog that will appear after 30 seconds could fire while the user was viewing the Message Box-based prompt asking you whether you wanted to disable the auto-save functionality, which could lead to some problems. I wrote a fix for that issue quickly; I actually changed the code in the original article that same day because I felt it was important to do so. But I also realized that it could happen whenever the application was displaying a dialog of any kind, including File Open, File Save, various message boxes, and more. So we will need to make a similar fix in each case.
And there are a lot of them.