fix site panel auto-selection when the site or panel is changed
fix bug using newer angular-ui bootstrap, nesting a dropdown in a progressbar works a bit different