fix add/edit alert did not work in ie8