Checks if boxes exist before adding