close toolbox on item click