Got the ajax working... woot woot. First hash, next to improve the dialog a little