Don't access possible NULL pointers in Utils/MiscUI/DlgTemplate.h