Add buttons to elements