Added example of custom query window