[cms-assets] Add 'edit' mode

Add facility to update a gallery image.