Change key code.
Create AbstractDialog class.
Create SearchDialog skelton.
tmp