Split up form into three forms to have default buttons work sensibly.