Added lock support to form tag
Callback support for closing/submitting forms (needed for lock/unlock in
wfp-forms)