Fix on discarding all the changes(i.e. reservations) in Inventory View when the user tries to toggle to list view when he has unsaved changes.

GCP-9348.

Reviewer: Mae :)