ui: use parent/grandparent keys for key creation