Fix ok button and close window action on new_version_alert_dialog.