Gets the delete button to work. Woohoo!