Added new option to show/hide the border, fixed css class addition to the dialog box.