Fix #1916 "result-dialog action fails"
Minor: indent