Added dialog control