Small update to return hidden div instead of null; more React friendly