added delete confirmation to delete button action; changed edit link to a button