Resolved issue #22. Added selectionCallback(query, selectedItem) to dataset and also a 'selection' event that fires when an item is selected.