libs/web: support different caption for button widgets