moved progress dialog to serverhelper