added method to create editlayer form from esriOptions