Clicking cancel in clone doc modal fix

Before, clicking cancel in the Clone Document modal found on the doc
editor page would redirect you back to previous page. This isn't what
you'd want or expect. Now it just closes the modal.

Closes COUCHDB-2509