Edit modal fields populated correctly, but doesn't update