dialog preload and slide