Edit ajax modal. using inline onclick attribute. jQuery event wrapper doesn't seem to work. Modal function doesn't hide form inside modal.