Dialog fix progress bar