Remove location-details box from the dom after hiding