We use these hacks in MW theme to ensure the correct border appears on top, but having plain widgets set z-indexes is really horrible, as it means the rest of the z-index stack of the UI has to be designed around them.
Here's an example of the VE mobile standalone demo failing, for example:
While in MW our overlays have a higher z-index, other users may not want to / may not be able to increase the z-index of overlays.