Enter to send·Shift+Enter new line
on_worker_state_changed( self, event: Worker.StateChanged, ) -> None
React to worker completion: notify, then dismiss the modal.