add Duplicate button to dashboard

finish PR #5659

also fixes some related bugs with the path/name changes.

closes #1877

ping @ellisonbg for UI review
I think that's exactly right. This PR was started before some splitting of methods. Will remove, thanks.