enable the add projection button only if the selected path is for a datavalue
check when the button is clicked that the path is a datavalue and notify if it's not (the user can enable the button from the console so this is just another measure to avoid creating an incorrect query)