fix for progress dialog autohide