testing keyboard close on button click and removing old code