Adds delete functionality to the notes table view.