disabled two conditional links in dropdowns