Modal edit form for row in list


I am new to Meteor and Svelte. I am trying to wrap my head around Svelte components. I have a page with a list of rows(items). When I click on one of the rows I want to modal pop open a form populated with the item from a collection.

I do not need any help with the Modal itself, I am just trying to figure out how I would show the edit component.

I assume I will make a component and expose a key and collection object with built in update function. How do I implement the component on the page? How do I call the component so that It will update the edit fields?