fix appearance of dialog close button