EasyUI
Custom Dialog Toolbar and Buttons
Tutorial » Custom Dialog Toolbar and Buttons
You can create a dialog with toolbar and buttons, which can be created from HTML markup. This tutorial describes how to attach toolbar and buttons to a dialog with no javascript code.

Create Dialog
Create Toolbar
Create Buttons
Notice that the toolbar and buttons properties of dialog can also be assigned with string value, which will acts as a selector to select the appropriate DIV element and append to the toolbar or buttons positon.