Passing form to editor layout.

This is to facilitate zombie view removal in custom editors (like
sub-grid)