actiondlg: copy function added