fixes #11

rewrote rawlines dialog to use jQuery dialog.