Showing progress dialog while loading data.