Adding in the keyboard close function.