Fix closing finishedOrders UI behavior with ^W hotkey in MainWindow.