correcting new check dialog implementation