Captions sometimes saved in raw, sometimes not

If you select both ARW and JPG - right click - group by filename and then click on the group - add a caption. Does digikam ask you whether to apply changes for each file or only to the one which is on the top of the stack?