add edit-button and delete-button directive