In an Account record, I want to extract Notes from the History subpanel into a seperate individual subpanel. So I modify the file /modules/Accounts/metadata/subpaneldefs.php:

1. In the 'history' subpanel setup, I removed 'notes' from the collection array
2. And add the 'notes' subpanel:
'notes' => array(
'order' => 110,
'sort_order' => 'asc',
'sort_by' => 'date_entered'',
'module' => 'Notes',
'subpanel_name' => 'default',
'get_subpanel_data' => 'notes',
'title_key' => 'LBL_NOTES_SUBPANEL_TITLE',
),

In the 'subpanel_name', I used 'default' instead of 'ForHistory'

In the details page of Account record, it can show the 'Notes' subpanel. Then I add a Note record, when I save the Note record, it shows a blank page. I saw that the link is
.../SugarEMS/index.php?module=Accounts&action=SubPanelViewer&re cord=9ddd556e-2216-423b-4081-4ae01e4d697e

It seemed it has used SubPanelViewer instead of DetailView. Did I make anything wrong?