put close button on right for close dialog