changed the way eventhandlers of lists are attached (for relation stuff)