Fix bug: [IE8] throw error after close multi image dialog