Dialog: Fixed compiler warning