Address the issue where 'Undo' closes the Edit window on QC, but operates 'correctly' in Cortex Control

this is still badly needed! I guess there’s also this FR with more votes: