dismiss update dialog if it's visible when showing a message box