add progress bar and alert on unload support