Fixed relaunching the same test in capture page; Close capture popup on disconnect.