Added progress dialog for fetching messages.