TextArea: fix selected option behavior

everything funnels through UpdateState so that this can be affected by scripting