edit button directive