This seems redundant with the updatePanelTitleAndStatusBar() call below, just outside the if block