refactoring spriteClick function
add dialog button