popup dialog added when press checked.