check first whether a (namespace)template is available, when loading a page with newform form. Fixes #38