Fixed a bug in CPWindow where the didEndSelector was reset too early. This bug was visible only when trying to chain sheet alerts. Fixed a local/instance variable conflict in AttachedSheet/AppController.j
Reviewed by me.
Closes #284.