fix success dialog