Allow empty action

When no action is supplied, the action shouldn't be created, but left null.
(If you want to post the form to the current page)