fixes  #2354
Merge pull request #2383 from dotCMS/issue-2354-when-you-do-a-copy-template-remains-locked

fixes  #2354