Updating progress bar dialog with cancel possibility.