This method does the same thing that removeChild, except that once the box has
been removed from this box it is destroyed. The box can no longer be used in any
other operations.
var cont = scene.getBoxById("theBox");
if (cont)
{
var bx = scene.getBoxById("omegaBox");
// ... setup tab attributes here ...
if (bx)
cont.deleteChild(bx);
}