set options in modal view

can generate options for insertion into tag by checking boxes on form
format options checkboxes
moved script

moved script for inserting links into modal template
more options

added new/same option for plugin code