Simplify delete button directive.