Add progress dialog for import action, since it is computationally expensive.