working on copy dialog