label logic for closing 

needs to be same as opening
Merge pull request #898 from tacman/patch-1

label logic for closing