changed Onclick to onfocus, so now keyboard changes from popupwindow on focus