[RFC] add input to the arguments of dialog helper

addresses #8079