fix(web): animate command palette when closing (#5169)