add option to enter caption in gui
save captions to json file