After filling the gabion boxes, securely close the openings to prevent the contents from spilling out. Use wire or fasteners to seal the edges of the wire mesh panels, ensuring that the stones or rocks remain in place.