Edit/save event implemented.