Palette for sub diagrams can be selected by clicking on the sub diagram