Styling of close icon on dialog
I am using the dialog widget with a custom theme. In several of my dialogs I don't need any buttons. However, if I don't include any buttons, the styling of the close icon changes (the background is one of the theme colors, instead of white). Why would the presence/absence of buttons affect this?
Icon when buttons are included
Icon without buttons