Deleting box from layout.