Before this commit, when on a mail.template form, click on the Preview smart button. A wizard popped up with two buttons, as the default for form views. First this made no sense since the wizard doesn't represent a model that can be modified Second, the button discard was unable to close the wizard. After this commit, only a discard button is present which does its job.