Adding debug send button to each generated element