Fixed dialog close icon when there are no buttons.