add tree structure in dropdown with hide code