Added popup error message to SetExtent.