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
hmmm just tested this suggestion, didn't seem to work.  Ignore me for now.