unfinishedUploads is done and tested and alert gets created when trying to leave or refresh page while files have not been uploaded