Events in Edit controller