Process Enter press in a dialog panel as OK