Fixed a null reference in _hideModal() domStyle.set() when called from a...

... destroy(); not calling hide() at all if modal is not shown.