use a generic onCopyParent to check if parent on 1st or 2nd level is copied
minor code optimations
fix on copy issue
create button rules for buttons in live mode automatically