hide keyboard & show dialogbox