updated returlUrl handling for delete button (in view)