Improving the form generator. Added form default button.