Add Copy to clipboard function in RunScriptDialog