Ugly, but got a modal form working.