Finished QueryDetails.xaml.