Clear inspector when closed