close details on label selection