fix s3d dialog