changing window closing key mappings