[FIX] Modal!

got the modal form working. rewrote draw function to update the dom.