close dialog copy when finish copying.