fix(tui): completions: close and reset completions on cancel key
Ayman Bagabas
created
This change ensures that when the cancel key is pressed, the completions
component is closed and reset, preventing any lingering state that could
affect subsequent interactions.