Unable to load a form in editor