[textlayout] ensure we reset the last used text when resetting the textlayout. Fixes missing text on second use of the same yes/no, ok dialog