Allow for resetText of a button to be a falsey value; fixes #13466

/cc @fat @cvrebert