Fix minor bugs: close highlight with details opened