progress dialog for client side.
this patch will be committed upstream