added logging in progress dialog