Added support for the target attribute on a form