GUI-1508: Fix S3/OSG copy/paste operation when item is copied from the object details page

Fixes https://eucalyptus.atlassian.net/browse/GUI-1508