ProgressDialog support added