Magaly,
OK, I thought that you were hitting a different issue. Thanks, your fix is exactly what is need. It is hard for me to determine how some one might configure this widget now that it has so many configuration options. I always have at least one spatial serach layer on.