I still have this problem in v.802 as i did in v.803. Just realised that it is reproducible..
If I open the profile window of a character and press the Esc key, it does nothing. Then when I click the X to close the menu with mouse, it jumps me to the option menu straight away. Whether this is a bug or not, it would be better imo to enable the Esc key to close windows and/or not jump the person to the options screen after closing said window.