Dialog now loads the clicked item's details (name only)