dialog preview uploading state design