add button handler for positiveButton/negtiveButton