How to get/write an index for a modifier in a list box?
You can create a simple IntProperty() to be used as active index storage.

bpy.types.Object.modifier_active_index = bpy.props.IntProperty()

# ...

row.template_list("UI_UL_list", "list", ob, "modifiers", ob, "modifier_active_index", rows=rows)