set haplotype as popup dialog box