Fixed some bugs with updatemanagerdialog