slot: got adding and editing working.