Refine Dialog and add slice click event

Dialog for choosing category;
Add slice click events