Close announcement functionality

shouldn't this be under else of the previous conditional?