hide menu entry when nothing is selected