Added ability to delete records on edit view.