Add a confirm dialog when resetting setting to default, fixes #1410