fix dialog
add pagelist.js
remove conflict for dialog.js