always make dynamic views optional

instead of throwing an error when a dynamic lookup fails and optional
is not specified, just always render a blank template