While using a tool the ESC key is pressed to move focus away from tool dialog.This is so that the 'Enter' key will move focus to the key-in input field. Instead the ESC key closes the tool.