Fixed image caption bug

Caption wasn't saved when adding new image