Fixed usability issues by pressing enter to do primary action instead of
clicking button.