Fix loading dialog on save.