Statement type editor: buttons enabled or disabled depending on text
input.