* fix exact match dialog show logic * fix logic for uri matching * simplify exact match dialog show logic