Test Material dialog