request query through popup works