add advanced toggle
show it when there are advanced options
toggle show/hide based on the advanced toggle scope flag