Assuming that there were multiple components on the page, do you want to check that the one you clicked "Edit" on is the one shown in the modal?