using separate Stage to build dialog