The view and context options need to be set and passed to the QueryDialog like they are [here](https://github.com/cbmi/cilantro/pull/274/files#diff-219bcbd129bdcfc5240bb6e55316b7f4L405).