ui Form constructor