preview dialog loading and error states