A couple of times recently I've tried to add a comment to a question before making my close-vote, only to discover that this was only a test and that the question had been closed days or weeks or months ago. Now I've left a comment far too late to be useful, so I've had to go and delete it.
Is this really desirable behaviour? I'm sure on some other review tasks hitting the 'add comment' button reveals that it was just a test before I've started typing.