Remove cruft from GrabKeyDialog