Adding progress dialog for log viewer