adjust patch to backported patch for ProgressDialog