This change shouldn't be necessary since it looks like the data is actually (redundantly) set on the delete button itself in `showDeleteButton()`. (Did the button not work without this change? If so, would be interesting to figure out why.) That said, it seems more elegant to look it up here as you're doing, so if so, you could take out the bit in `showDeleteButton()` that attaches the path to the button.