Fix esc/"x" closing of quest window to properly track closure