bug fix - connect button opens pledge form due to unclosed div