#2863: Add menu entries for forms. Print out form or ajax commands depending.