Problem
When exiting the message template picker with ESC instead of inserting a template, focus returns to the main window instead of the composer. Users must click with the mouse to resume typing, breaking keyboard-only workflows.
Request
Return keyboard focus to the composer when closing the template picker so users can continue typing immediately.