Add properties for buttons, and fully move actionchains import to
toplevel