Positions the close button on the right side of the title bar.