update: add a error message in panel list dialog
a few refactors