Ensure dialog control is set.