close the div tag that was left open