Dialog: don't remove overlay if it doesn't exist. Fixed: #9004 - failed ...

...in _destroyOverlay when I destroy a modal dialog thau was never opened.