Fixes #464: set the dialog's default button, and now calling the refresh action "later".