Added progress dialog which is displayed when retrieving data from the
server.