change close button rendering