Added copy button to JSON dialog