Close the frequency controller window on pressing the escape key.