create popup preview