Make the list item modal work