added progress dialog for ic fitting