Added a duplicate button which opens an extra window