stopped here to try making the modal dialogs without jquery