Added Edit and Delete (with confirm) functionality.