Added progresDialog at work.