onClick event added.
Caption widget property added.