Dialog: Restructured button creation and fixed the problem with not being able to change the buttons after instantiation.
Dialog: Restructured button creation and fixed the problem with not being able to change the buttons after instantiation.

GrayYoung/jQuery.UI.Extension,GrayYoung/jQuery.UI.Extension