Close popup via keyboard