check if div exists to render form