Avoids throwing errors if widgetToCover is something other than a wm.Control
Changes zIndex from 10 to 1 for selected tabs so that LoadingDialog covers them
Merge branch 'master' of https://github.com/SpringSource/wavemaker