Only generate buttons with mkbutton
Refactor .dialog