Changed delete functionality to use modal dialog and refresh list on delete