updated accusation dialog, created a button listener