added a simple tree based dialog for the palette for #228