Copy as cURL caused editor to loose focus.

Closes #28