closeText option in dialog

closeText option in dialog

Hi

I see that the closeText option in the jquery ui dialog is not working. A google search reveals discussions in which people say that it does not work because the text indent property is set to -9999. However when I use css to counter this, I get the image on a line beneath the text and the title bar gets taller.

It seems to me that this feature has not been completed. So I am thinking of making my contribution by finishing this feature. I propose to add an option to set the close button type. it would have three options: image only, text and image, and text only.


closeButtonType:

imageOnly (default)

textAndImage

textOnly


Any thoughts or feedback on this idea would be welcome