fix a bug where GetLinkReq triggers twice
add progressdialog for the mainwindow uploading