this can also be caused by pressing Esc while moving away from a buy zone while the buy menu and replace item windows are opened. When moving out of the buy zone, crossing the border to no-buy zone, the buy window closes, the replace item window stays visible but the buttons are non-interactive...