on tap dialog, and edit button on viewpager