use iframe to download to avoiding leaving the page.