sites: mkdir keeps popup query string after redirect

refs #83