Added type=button to dialog buttons so they don't submit a form if in one