Add progress dialog for (#321)