Confinement of a hot temperature patch in the modified SQG model