solved click handler problem somewhat ingeniously IIDSSMS