User can now edit an item from the index page through a modal