FIX: 'show query' text for AJAX requests.
FIX: hide details when pressing summary tab.