reworked the way not needed areas on the building dialog are handled