Add confirmation alert for duplicate function.

Add confirmation alert for duplicate function. and show watch cursor when copy start.