label logic for closing

needs to be same as opening