Add a success dependent OK button to log dialog.