Fixing the location of the close button