[WIP] add input to the arguments of dialog helper