dialogs in place, still a few bugs I dont understand.