added confirm message for deleting