Added template for background field in popup preview