enter on dialog now saves