fixed modal issue on ie - not opening as content linked to scratch and scratch being wiped