Export selected elements only

If a selection exists, export only the selected elements. We don't cleanup the existing folder, as the user might not want to erase everything when updating a single asset.