fixed the success dialog on linux