Only show the Update Error Dialog if it's a first update.
Fixed CPU spike problem with closing window.
Refactored UpdateDialog to return a value.