fix placement of close button