added toggle check box to enable/disable delete button