Remove the rscript dialog before injecting the html