Handle copy and paste of unsaved rdef OR imageId