ui Form constructor
fix merge conflict
check foreach and text contexts