Set the default buttons in the constructor so pressing Enter/Return works now.