Close charmap dialog after inserting character.