ui : close the models manager when a chat starts from it
The pane's Start a new chat asks the manager to close, and the manager
forwards that through onClose, but the dialog never passed it, so the call
went nowhere and the chat opened behind the dialog.
Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash