Hide the details panel after the selected item has been deleted.