added confirm message and delete button on edit page