Improved handling for "target=" for #formlink, incl. new "edit existing target"

Change-Id: Ib217b6c49d373abe68105c611e43117b19ad88ab