add buttons to hierarchy popup