Fixed 'clearModalImage' method