Add custom buttons to titlebar

Add custom buttons to titlebar


How would I go about adding a custom button next to the 'x' close
button on the title bar? I am trying to add a '-' minus button that
will "minus" the dialog, not destroy it. Ideas?
Thanks