close menu chain properly when entry clicked