Make dict query line disabled if no dictionaries presented