Check if a box exists before adding