Escape key should only close Dropdown

fixes #14646