Added dialog test