Add events to dao elements.