add search dialog
cakephp version up 2.3 to 2.4