Attach key handler to map target