Escape key should only close Dropdown

fixes #14646
i just wanted it to be consistent… seemed ghetto to check for keyCode, then check for which below