Adding query tab to dashboard