add a box for a view