Provides onCopySelectedItems for all TreeUi implementations