Fixed click behavior of delete button that was causing bok-choy test to correctly fail.