I need to replace the existing jquery UI close dialog with a new close button which looks like the below link.

<http://demo.tutorialzine.com/2010/12/better-confirm-box-jquery-css3/>

Can anyone provide how to proceed to get a dialog like this?
what are the areas needed to change for this?