Think I fixed the dialog issue