Infinite loop bug.
Patch for Hoda Amer. The user may start the wizard from the navigator view. In this case, the selection is a resource, not a CModel Element, which caused some troubles. This patch fixes this problem. Change log has been updated.
PR 38268: added the image cache for overlay images.