Fix close button shows on location page