setup slot/signal for edit functions