added new template for "edit LM" dialog. refs #3849
added entries for LM form field legends. refs #3849
minor code formatting tweaks. removed obsolete assignments to template data array.
commented out old lm dialog includes-script and plugged in replacement script. refs #3849