Added FormData support to modal forms