Fix form field existence check.
[jan] Fix switching to HTML editor in basic mode.