On spatial conditional mode estimation for a functional regressor