bug fix for IE and confirm dialogues && bug fix for allele image condition