corrected some dialog issues